package com.fm;

import static com.fm.service.Service.*;

import java.io.IOException;


/**
 * Hello world!
 *
 */

public class Service_run
{

    /**
     * 启动
     * @param args
     */
    public static void main( String[] args ) {

        // TCP服务
        Thread thread = new Thread(() -> {
            try {
                StartTCPServer();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        });
        thread.start();

    }

}
